package cn.cdiothree.service;

import cn.cdiothree.dataobject.Carousel;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 轮播图
 * @author cumthing
 */
public interface CarouselService extends IService<Carousel> {
    /**
     * 根据商品Id查询图片
     * @param productId
     * @return
     */
    List<Carousel> findByProductId(Integer productId);
}
